package org.example.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class Sword {
    private String name;
    private int power;

    public void attack(){
        System.out.println("扣你100000点血");
    }
}
